package cn.itcast.mapper;

import cn.itcast.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: peterChen
 * @date: 2019/8/19 22:25
 * @description: TODO
 * @version: 1.0
 */
public interface MenuMapper {
    public List<Menu> getMenuByUserName(@Param("username") String username);

    public List<Menu> findChildMenusByParentMenuId(@Param("parentMenuId")Integer ParentMenuId);

}
